<div class="biaoge box" style="border:1px solid #A2A2A2">
<font size=+2><b>{{ host_info.name}} - {{ host_info.ip}}</b></font><br>
<table cellpadding=1 cellspacing=10 border=0 width=90%>
	<tr>
		<td valign=top width="33%">
			<b>硬件信息</b><br>
            <div class="row"><label>产品线:</label><span>{{host_info.pid}}</span></div>
            <div class="row"><label>机器批次:</label><span>{{host_info.mid}}</span></div>
            <div class="row"><label>CPUs:</label><span>{{host_info.mid.cpu}}</span></div>
            <div class="row"><label>内存:</label>{{host_info.mid.mem}}</div>
            <div class="row"><label>磁盘:</label>{{host_info.mid.disk}}</div>
            <div class="row"><label>网卡:</label>{{host_info.mid.network}}</div>
		</td>
	    <td valign=top width="33%">
			<b>运行情况</b><br>
            <div class="row"><label>机器负载:</label><span>{{host_info.r_load}}</span></div>
            <div class="row"><label>cpu使用率:</label><span>{{host_info.r_cpu_usage}}</span></div>
            <div class="row"><label>内存使用率:</label><span>{{host_info.r_mem_usage}}G / {{host_info.r_mem_total}}G</span></div>
            <div class="row"><label>磁盘使用率:</label><span>{{host_info.r_disk}}G / {{host_info.r_disk_total}}G</span></div>
		</td>
	    <td valign=top width="33%">
			<b>监控信息</b><br>
            {%if host_info.status == 'T'%}
            <div class="row" style="background-color:green"><label>机器状态:</label><span>正常</span></div>
            {% else %}
            <div class="row" style="background-color:red"><label>机器状态:</label><span>故障</span></div>
            {% endif %}
            <div class="row"><label>报警组:</label><span><a href="/group/edit/?id={{host_bing.gid.id}}">{{host_bing.gid.name}}</a></span></div>
            <div class="row"><label>策略组:</label><span><a href="/strategy/edit/?id={{host_bing.sid.id}}">{{host_bing.sid.name}}</a></span></div>
            <br><br><br>
			<b>操作</b><br>
            <div class="row">
                <span class="hostop"><a href="/host/modify?id={{host_info.id}}">修改</a></span>
                <span class="hostop"><a href="javascript:deleteHost({{host_info.id}})">删除</a></span>
                {% if host_monitor.open == "T"%}
                <span class="hostop"><a href="/monitor/status?id={{host_monitor.id}}&do=stop">暂停</a></span>
                {% else %}
                <span class="hostop"><a href="/monitor/status?id={{host_monitor.id}}&do=start">开始</a></span>
                {% endif%}
            </div>
		</td>
	</tr>
</table>
</div>
